<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>干货集中营</title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/home.css">
    <link rel="stylesheet" href="css/fonts.css">
    <script src="js/jquery.js"></script>
    <link rel="stylesheet" href="Swiper-3.4.2/dist/css/swiper.min.css">



    <script src="Swiper-3.4.2/dist/js/swiper.min.js"></script>

    
    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="js/rem.js"></script>

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
</head>

<body>
    <div class="top">
        <div class="typepage">
            <div class="topheader">

                <div class="toplogo">
                    <a href="#"><img src="img/logo.jpg" alt=""></a>
                </div>


                <div class="middlebar">
                    <ul>
                        <li><a href="#">首页</a></li>
                        <li><a href="#">妹子</a></li>
                        <li><a href="#" class="">干货</a></li>
                        <li><a href="#">专题</a></li>
                        <li><a href="#">Flutter</a></li>
                        <li><a href="#">API</a></li>
                        <li><a href="#">留言</a></li>
                        <li><a href="#">❤新版进度❤</a></li>
                    </ul>
                </div>



                <div class="rightbar">
                    <ul>
                        <li><a href="#" class="iconfont icon-moon-fill"></a></li>
                        <li><a href="#" class="iconfont icon-search-line"></a></li>
                        <li><a href="#" class="iconfont icon-edit-box-line"></a></li>
                        <li><a href="#">
                                <span>登录</span><span>注册</span>
                            </a></li>
                    </ul>
                </div>


            </div>
            <!--第一板块  大盒子  结束-->




        </div>
        <!--版心  盒子  结束-->

    </div>
    <!--top  盒子  结束-->




    <!-- 首页轮播图 -->

    <!-- Swiper -->
    <div class="swiper-container swiper-container-horizontal">
        <div class="swiper-wrapper" style="transform: translate3d(-13734px, 0px, 0px); transition-duration: 0ms;" id="tmp">
            <!-- <div class="swiper-slide" style="width: 1496px; margin-right: 30px;" _msthash="483912"
                _msttexthash="8623654"><img src="img/宇智波鼬1.jpg" alt=""></div>
            <div class="swiper-slide" style="width: 1496px; margin-right: 30px;" _msthash="484302"
                _msttexthash="8623784"><img src="img/宇智波鼬02.jpg" alt=""></div>
            <div class="swiper-slide" style="width: 1496px; margin-right: 30px;" _msthash="484692"
                _msttexthash="8623914"><img src="img/宇智波鼬03.jpg" alt=""></div> -->

        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination swiper-pagination-clickable swiper-pagination-bullets"><span
                class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span
                class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span
                class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span
                class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span
                class="swiper-pagination-bullet"></span><span
                class="swiper-pagination-bullet swiper-pagination-bullet-active"></span></div>
        <!-- Add Arrows -->
        <div class="swiper-button-next swiper-button-disabled"></div>
        <div class="swiper-button-prev"></div>
    </div>

    <!-- Swiper JS -->
    <script src="../dist/js/swiper.min.js"></script>

    <!-- Initialize Swiper -->
    <script>
        var swiper = new Swiper('.swiper-container', {
            pagination: '.swiper-pagination',
            nextButton: '.swiper-button-next',
            prevButton: '.swiper-button-prev',
            paginationClickable: true,
            spaceBetween: 30,
            centeredSlides: true,
            autoplay: 2500,
            autoplayDisableOnInteraction: false
        });
    </script>


<script src="js/template-web.js"></script>

    <script src="text/html" id="tmp">


    {{each data val}}
    <div class="swiper-slide" style="width: 1496px; margin-right: 30px;" _msthash="483912"
                _msttexthash="8623654"><img src={{val.image}} alt=""></div>
          

    {{/each}}


    </script>



<script>
 $.ajax({
     url:"https://gank.io/api/v2/banners",
     type:"get",
     success:function(res) {


         console.log(res.data);
     }
 })




</script>























    <script src="js/rem.js"></script>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
</body>

</html>